#include <iostream>
#include <cmath>
#include <algorithm>
#include <cstring>
#include <vector>
#include <map>
#include <queue>
#include <cstdio>
#include <string>
#include <stack>
#include <set>
#define IOS ios::sync_with_stdio(false), cin.tie(0)
using namespace std;
typedef long long ll;

int main()
{
    IOS;
    ll n;
    cin>>n;
    ll h,x,y;
    while(n--){
        cin>>h>>x>>y;
        if(y>=h){
            cout<<"Yes"<<endl;
        }
        else{
            if(y==0){
                cout<<"No"<<endl;
                continue;
            }
            if(x>=h){
                cout<<"No"<<endl;
            }            
            else {
                if(x==0){cout<<"Yes"<<endl;continue;}
                ll k=h/x;
                ll mod=h%x;
                if(mod==0){
                    k--;
                    mod=x;
                }
                if(y*(k+1)>=mod){
                    cout<<"Yes"<<endl;
                }
                else {
                    cout<<"No"<<endl;
                }
            }
        }
    }
    getchar();
    getchar();
    return 0;
}
